package com.zn;

//import com.zn.socketReceiver.TickDataReceiver;
import com.zn.task.ExecuteCSVTask;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
		import org.springframework.scheduling.annotation.EnableScheduling;

//@EnableEurekaClient
@ComponentScan
@EnableScheduling
@EnableAutoConfiguration(exclude={
		DataSourceAutoConfiguration.class,
		DataSourceTransactionManagerAutoConfiguration.class})
@SpringBootApplication
public class EtfTimedTaskApplication implements CommandLineRunner {
	private static final Logger LOGGER = LoggerFactory.getLogger(EtfTimedTaskApplication.class);
	@Autowired
	private ExecuteCSVTask executeCSVTask;

	public static void main(String[] args) {
		SpringApplication.run(EtfTimedTaskApplication.class, args);
	}
	@Override
	public void run(String... strings) throws Exception {
//		executeCSVTask.writeContent();
	}


}
